<html>
<head>
<script>
function test() {
	if (window.testRunner) {
		testRunner.dumpAsText();
	}

	document.write("passed");
}
</script>
</head>
<body>
<p>Tests: calling HTMLDocument::write</p>
<p>Condition(s):</p>
<p>Success message: passed</p>
<p>Failure message: [no output]</p>
<hr>
</body>
<script>test()</script>
</html>
